package com.cgs.query.handler

import com.cgs.query.domain.BoundSql
import com.cgs.query.domain.ExecutionObj
import com.cgs.query.executor.ExecutionContext

/**参数解析器*/
interface ParameterHandler {

    fun resolve(executionObj: ExecutionObj, param: Map<String, Any?>): BoundSql

    fun resolve(executionObj: ExecutionObj, param: Map<String, Any?>, executionContext: ExecutionContext): BoundSql {
        return resolve(executionObj, param)
    }
}